<?php
$title=$_POST['title'];
$content=$_POST['content'];
echo json_encode([
    'code'=>0,
    'msg'=>'success',
    'data'=>[
        'title'=>$title,
        'content'=>$content,
        'time'=>date("Y-m-d H:i:s")
    ],
]);
